package com.jl.enums;

public enum  RoomAction {
    type0("0","watchCount","观战人数"),
    type1("1","userInfo","用户信息"),
    type2("2","read","准备"),
    type20("20","join","加入房间"),
    type98("98","pokerInfo","手牌信息"),
    type99("99","dissolution","解散"),
    type100("100","","小于最低入场游戏币,无法准备"),
    type101("101","","房间人数已满,无法加入"),
    type102("102","","房间不存在"),
    type103("103","","房主无法退出房间"),
    type104("104","","只有房主能解散房间"),
    type105("105","","正在当庄无法退出游戏"),
    type106("106","","游戏未开始"),
    type197("197","","当前游戏未结束,请稍后重试"),
    type198("198","","断线重连更新数据"),
    type199("199","","游戏开始中,无法退出"),
    type998("998","reConnect","重新连接"),
    type999("999","error","异常断开");

    private String id;
    private String value;
    private String desc;

    RoomAction(String id, String value, String desc) {
        this.id = id;
        this.value = value;
        this.desc = desc;
    }

    public String getId() {
        return id;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
